package com.gzy.rpsm_property.mapper;

import com.gzy.rpsm_property.pojo.Floor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface FloorMapper {
    @Select("select floor_id,floor_number from floor where belong_building = #{id}")
    List<Floor> floorsOfBuilding(Integer id);
}
